#include "LogicCache.h"


CLogicCache::CLogicCache(void)
{
	m_DefaultErr = "error";
}


CLogicCache::~CLogicCache(void)
{
}

const std::string& CLogicCache::GetError(uint32_t err) {
	MapErr_t::const_iterator tIter = m_ErrorString.find(err);
	if (tIter != m_ErrorString.end())
		return tIter->second;
	return m_DefaultErr;
}
